<!DOCTYPE html>
<html>
<head>
	<meta http-equiv="Content-Type" content="text/html;charset=utf-8">
	<style type="text/css">

	p.comment {font-family:"Times New Roman",Georgia,Serif;font-size:50px;}
	</style>
</head>

<body>

<?php
include 'tieba_information.php';
include 'config.php';
include 'show_list.php';
include 'show_page.php';
include 'show_comment.php';

$css_content='';
$css_comment='class="comment"';
$css_end='';
$css_page='';

$tid=$_GET['tid'];
$urls="http://".$_SERVER['HTTP_HOST'].$_SERVER['PHP_SELF']."?tid=".(string)$tid."&";
$now_theme=new TiebaInformation();
$now_theme->searchInit($tid);
$now_theme->showInf($css_content);
if($now_theme->focus>0)$showcomment=new ShowComment(10,$tid,$css_comment,$css_end,$css_page,4,"where tid=".(string)$tid,"order by tid",$urls);
else echo "<p ".$css_comment.">没有评论</p>";
?>

<form action="comment_success.php" method="post">
<p class="content_lable">我的评论 : </p>
<textarea class="content_textarea" rows="10" cols="30" name="content"></textarea><br>
<input type="hidden"  name="tid" value =<?php echo '"'.$tid.'"'; ?>> 
<input type="submit" value="提交评论" class="button">

</form>
<?php
if($now_theme->uid==1/*$_SESSION['uid']*/)echo '<form action="sure_delete.php" method="post"><input type="hidden" name="tid" value ="'.$tid.'"><input type="submit" value="删除贴吧" class="button"></form>';
?>

</body>
</html>  